/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package opt;

import entity.Pet;
import entity.PetOwner;

/**宠物主人服务器接口
 *
 * @author 10592
 */
public interface PetOwnerService {
    /**
     * 购买宠物
     * @param pet 宠物实体
     */
    public void buy(Pet pet);
    /**
     * 卖出宠物
     * @param pet 宠物实体
     */
    public void sell(Pet pet);
    
    /**
     * 宠物主人登录
     * @return 
     */
    public PetOwner login();
    
}
